Polyhedral Cones of Magic Cubes and Squares
نویسندگان
چکیده
Using computational algebraic geometry techniques and Hilbert bases of polyhedral cones we derive explicit formulas and generating functions for the number of magic squares and magic cubes. Magic cubes and squares are very popular combinatorial objects (see [2, 15, 17] and their references). A magic square is a square matrix whose entries are nonnegative integers and whose row sums, column sums, and main diagonal sums add up to the same integer number s. We will call s the magic sum of the square. In the literature there have been many variations on the definition of magic squares. For example, one popular variation of our definition adds the restriction of using the integers 1, . . . , n as entries (such magic squares are commonly called natural or pure and a large part of the literature consists of procedures for constructing such examples, see [2, 15, 17]), but in this article the entries of the squares will be arbitrary nonnegative integers. We will consider other kinds of restrictions instead: Semi-magic squares is the case when only the row and column sums are considered. This apparent simplification has in fact a very rich theory and several open questions remain [7, 22]. Pandiagonal magic squares are magic squares with the additional property that any broken-line diagonal sum adds up to the same integer (see Figure 1).
منابع مشابه
Magic graphs and the faces of the Birkhoff polytope
ABSTRACT Magic labelings of graphs are studied in great detail by Stanley in [18] and [19], and Stewart in [20] and [21]. In this article, we construct and enumerate magic labelings of graphs using Hilbert bases of polyhedral cones and Ehrhart quasi-polynomials of polytopes. We define polytopes of magic labelings of graphs and digraphs. We give a description of the faces of the Birkhoff polytop...
متن کاملJ an 2 00 5 The Number of “ Magic ” Squares , Cubes , and Hypercubes 1
Magic squares have turned up throughout history, some in a mathematical context, others in philosophical or religious contexts. According to legend, the first magic square was discovered in China by an unknown mathematician sometime before the first century A.D. It was a magic square of order three thought to have appeared on the back of a turtle emerging from a river. Other magic squares surfa...
متن کاملThe Number of "Magic" Squares, Cubes, and Hypercubes
Magic squares have turned up throughout history, some in a mathematical context, others in philosophical or religious contexts. According to legend, the first magic square was discovered in China by an unknown mathematician sometime before the first century A.D. It was a magic square of order three thought to have appeared on the back of a turtle emerging from a river. Other magic squares surfa...
متن کاملFranklin Squares: A Chapter in the Scientific Studies of Magical Squares
Several aspects of magic(al) squares studies fall within the computational universe. Experimental computation has revealed patterns, some of which have lead to analytic insights, theorems, or combinatorial results. Other numerical experiments have provided statistical results for some very difficult problems. While classical nth order magic squares with the entries 1..n2 must have the magic sum...
متن کاملFranklin Squares - a Chapter in the Scientic Studies of Magical Squares
Several aspects of magic(al) square studies fall within the computational universe. Experimental computation has revealed patterns, some of which have lead to analytic insights, theorems or combinatorial results. Other numerical experiments have provided statistical results for some very di¢ cult problems. Schindel, Rempel and Loly have recently enumerated the 8th order Franklin squares. While ...
متن کامل